import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.*;

import Utiles.DataFactory;

import walter.WSolver;

import Algoritmos.*;

public class EntryPoint {
	
	public static void main(String[] args) throws IOException{
		final int portNumber = 7;
		System.out.println("Creating server socket on port " + portNumber);
		ServerSocket serverSocket = new ServerSocket(portNumber);
		
		while (true) {
			Socket socket = serverSocket.accept();
			RequestHandler handler = new RequestHandler(socket);
			new Thread(handler).start();
		}
		
	}

}
